﻿using Shop.RemoteModel.Category.Model;

namespace Shop.Service.Interface
{
    public interface ICategoryService
    {
        CategoryDatum Get (long id);
        long Add (CategoryAdd add);
        void Delete (long id);
        CategoryFullTree[] GetFullTree ();
        bool Set (long id, CategorySet datum);
        Dictionary<long, int> SetSort (long id, int sort);
        void Move (long id, long? toId);
        void Enable (long id);
        void Disable (long id);
        CategoryTree[] GetTree (CategoryGetParam param);
    }
}